package com.wx.md.config;


import com.wx.md.adb.AdbUtils;
import com.wx.md.common.SocketSessions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

import java.net.Socket;


/**
 * 启动后执行
 */
@Component
public class ApplicationRunnerImpl implements ApplicationRunner {


    @Autowired
    AdbUtils adbUtils;

    @Override
    public void run(ApplicationArguments args) throws Exception {
        adbUtils.init();
    }

}
